// 协议字段定义
export interface Field {
    name: string;
    type: string;
    size?: number;
    count_from?: string;
    fields?: Field[];
    description?: string;
}

// 后端协议的存储类， protocolContent 是 Protocol 类型 JSON化的数据
export interface ProtocolItemDO {
    id?: string;
    protocolName: string;
    protocolContent: Field;

    msgType?: number,
    code?: number,

    category?: string;

    createTime?: string;
    createUserId?: string;
    createUserName?: string;
    createNickName?: string;

    updateTime?: string;
    updateUserId?: string;
    updateUserName?: string;
    updateNickName?: string;

}
